package com.hd.service.impl;

import com.hd.mapper.InstrInfoMapper;
import com.hd.pojo.InstrInfo;
import com.hd.service.InstrInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by 1 on 2017/11/28.
 */
@Service("instrInfoService")
@Transactional
public class InstrInfoServiceImpl implements InstrInfoService {

    @Resource
    private InstrInfoMapper instrInfoMapper;

    @Override
    public List<InstrInfo> searchAllInstrInfo() {
        return instrInfoMapper.list();
    }
}
